<%@ page import="com.ftg.learn.util.BaseResultSet" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>小吴软件</title>
</head>
<body>
<%--get :  ?& 中文乱码   长度限制--%>
<%--    <form method="post" action="/访问名称/serverlUrlPattern名称">--%>
<%
    BaseResultSet brs = (BaseResultSet) request.getAttribute("info");
    if(brs != null){
        out.print(brs.getMess());
    }
%>
    <form method="post" action="<%=request.getContextPath()%>/loginservlet">
<%--    <form method="post" action="<%=pageContext.getServletContext().getContextPath()%>/serverlUrlPattern名称">--%>
        <table>
            <tr>
                <td>账号</td>
                <td><input type="text" name="username" placeholder="请输入您的账号"/></td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input type="password" name="password" placeholder="请输入您的密码"/></td>
            </tr>
            <tr>
<%--                colspan 列合并 合并成一列--%>
                <td colspan="2" align="center">
                    <button>登陆</button>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
